package com.apis.admin;

import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.atri.pojos.ApArticle;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.user.pojos.ApAuthor;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface AdarticleApi {

    public ApAuthor findById (@PathVariable("id") Integer id);

    public ResponseResult save (@RequestBody ApAuthor apAuthor);

    public ResponseResult saveArticle(@RequestBody ApArticle apArticle);

}
